﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace VehicleMaintenance.Models
{
    public class CustomerType
    {
        [Key]
        public int TypeID { get; set; }

        [Display(Name = "客户类别")]
        [Required(ErrorMessage = "客户类别不能为空")]
        public string Name { get; set; }

        public List<Customer> Customer { get; set; }
    }
}
